package program;

import org.antlr.runtime.tree.Tree;

/**
 * Author: Bahadir Konu (bah.konu@gmail.com)
 */
public interface ProgramVisitor {

    void beforeClass();
    void afterClass();
    void onClassName(String name);

    void beforeMethod();
    void afterMethod();
    void onMethodName(String name);
    
    void onVariableDecl(String id, String type);
    void onMethodParam(String id, String type);
    void onAddition(String left, String right);
    void onStatement(Tree tree);
}
